import user from "./user"
import menu from "./menu"
import role from "./role"
import category from "./category"
import item from "./item"
import cart from "./cart"
import order from "./order"

const db = JSON.stringify({
    tables: {
        user,
        menu,
        role,
        category,
        item,
        cart,
        order
    }
})

function getDefaultDB() {
    return JSON.parse(db)
}

export default getDefaultDB